<!doctype html>
<html>
<head>
    <meta charset="utf-8" />
    <title></title>
    <style>
    table{
        width:700px;
        margin: 10px auto;

    }
        textarea{
            width: 500px;
            height: 200px;
        }
    </style>
</head>
<body>
<form action="<{$smarty.const.__SELF__}>" method="post">


    <table>
        <input type="hidden" name="time" value="<{$smarty.now|date_format:"%y-%m-%d"}>" />
    <tr>
        <td>作者</td>
        <td><input type="text" name="author" value="<{$info.author}>"></td>
    </tr>
    <tr>
        <td>标题</td>
        <td><input type="text" name="title" style="width: 500px" value="<{$info.title}>" /></td>

    </tr>
    <tr>
        <td>正文</td>
        <td><script id="container" name="content" type="text/plain">
            <{$info.content}>
        </script></td>
    </tr>
    <tr>
        <td></td>
        <td><input type="submit" name="submit" value="提交" /></td>
    </tr>

</table>

</form>
<script type="text/javascript" src="<{$smarty.const.UEDITOR}>ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="<{$smarty.const.UEDITOR}>ueditor.all.js"></script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
    var editor = UE.getEditor('container');
</script>
</body>
</html>